<layout name="master" />

<div class="row">
    <ol class="breadcrumb">
        <li><a href="{:U('Home/Index/index')}"><span class="glyphicon glyphicon-home"></span></a></li>
        <li >系统管理</li>
        <li class="active">添加顶级分类</li>
    </ol>
</div><!--/.row-->

<div class="row">
    <div class="col-lg-12">
        <h1 class="page-header">添加顶级分类</h1>
    </div>
</div>
<ul class="nav nav-tabs" role="tablist">
    <li><a href="{:U('Home/List/index')}">分类管理</a></li>
    <li class="active"><a href="#">添加顶级分类</a></li>
</ul>
<form class="form-horizontal" action="" method="post">
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="form-group">
                <label for="" class="col-sm-2 control-label">分类名称</label>
                <div class="col-sm-9">
                    <input type="text" name="typename"  class="form-control" placeholder="请填写分类名称">
                </div>
            </div>

            <div class="form-group" >

                <label for=""  class="col-sm-2 control-label" style="color: red">注！！！</label>
                <div class="col-sm-9">
                    <input disabled type="text" id="" class="form-control" style="color: red" value="分类选好不可修改">
                </div>

            </div>


            <div class="form-group">

                <label for="" class="col-sm-2 control-label">所属分类</label>
                <div class="col-sm-9">
                    <select class="js-example-basic-single form-control" name="pid">
                        <option value="0">顶级分类</option>
                    </select>
                </div>

            </div>

            <div class="form-group">

                <label for="" class="col-sm-2 control-label">是否为收费项目</label>
                <div class="col-sm-9">
                    <select class="js-example-basic-single form-control" name="is_obj">
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </select>
                </div>

            </div>

            <div class="form-group">
                <label for="" class="col-sm-2 control-label">金额 ￥</label>
                <div class="col-sm-9">
                    <input type="number" name="value"  step="0.01" value="0"  class="form-control" placeholder="此为金额，不写默认为￥0">
                </div>
            </div>

        </div>
    </div>
    <button class="btn btn-primary" type="submit">确定</button>
</form>